package baseFx.common.context;

import baseFx.common.Action1T;

public class BeanDef {
    public String name;
    public Object bean;
    public Class<?> beanType;
    public BeanLife life;
    public Action1T<?> onCreate;

    public static BeanDef create(Action1T<BeanDef> set) {
        BeanDef def = new BeanDef();
        set.execute(def);
        return def;
    }
}
